package com.caregiver.watch.business.care.service;

import com.caregiver.watch.business.care.model.dto.OpenHealthAlertParam;
import com.caregiver.watch.business.care.model.dto.QueryWarningHistoryParam;
import com.caregiver.watch.business.care.model.vo.AlertCountVo;
import com.caregiver.watch.business.care.model.vo.BoughtPackageInfoVo;
import com.caregiver.watch.business.care.model.vo.HealthAlertPackageInfoVo;
import com.caregiver.watch.business.care.model.vo.HealthAlertServiceInfoVo;
import com.caregiver.watch.business.care.model.vo.OpenHealthAlertVo;
import com.caregiver.watch.business.care.model.vo.WarningHistoryVo;
import com.github.pagehelper.Page;

import java.util.List;

/**
 * @Description: 健康预警服务
 * @Author 疆戟
 * @Date 2025/10/10 23:10
 * @Version 1.0
 */
public interface HealthAlertService {

    /**
     * 查询健康预警服务信息
     * @return
     */
    HealthAlertServiceInfoVo queryUserHealthAlertInfo();

    /**
     * 获取已购买的套餐列表
     * @return
     */
    List<BoughtPackageInfoVo> queryUserBoughtPackageList();

    /**
     * 获取健康预警套餐信息
     * @return
     */
    HealthAlertPackageInfoVo queryHealthAlertPackageInfo();

    /**
     * 开通健康预警
     * @param param
     * @return
     */
    OpenHealthAlertVo openHealthAlert(OpenHealthAlertParam param);

    /**
     * 查询预警历史
     * @return
     */
    Page<WarningHistoryVo> queryWarningHistory(QueryWarningHistoryParam param);

    /**
     * 查询预警数量
     * @return
     */
    AlertCountVo queryAlertCount(String startTime, String endTime);
}
